//
//  GYpayView.m
//  GoodLuck
//
//  Created by apple on 2018/3/20.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYpayView.h"

@interface GYpayView()

@property (weak, nonatomic) IBOutlet UIButton *subBtu;


@end

@implementation GYpayView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)setUpdateBtuTitle:(BOOL)updateBtuTitle {
    _updateBtuTitle = updateBtuTitle;
    
    self.subBtu.selected = updateBtuTitle;
}


- (IBAction)payBtuClick:(UIButton *)sender {
    self.submintOrderInfoCallBack();
}

@end
